﻿<%@page contentType="text/vnd.wap.wml; charset=utf-8"%>
<%@ page import="java.io.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="common.*"%>
<%@ page import="wapbean.*"%>  

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org//DTD//wml_1.1.xml">   
<wml>
<%

//	ContentFactory Fac = new ContentFactory();  
//	Vector ver = Fac.getWapModel();
//	WapcategoryFactory Fac1 = new WapcategoryFactory(); 
//	获取当前时间
	  GetDateTime GetDateTime = new GetDateTime();
    String nowtime = GetDateTime.getDate();
    String zrrt = request.getParameter("zrrt");
    if(zrrt!=null&&!zrrt.equals("null")&&!zrrt.equals("")){
    ManufacturerOriginBean  ManufacturerOrigin=new ManufacturerOriginBean();
        if(zrrt.equals("zrrt001")){
        ManufacturerOrigin.setManufactureroriginname("星运魔盒");
        }
         if(zrrt.equals("zrrt002")){
        ManufacturerOrigin.setManufactureroriginname("掌中天气");
        }
         if(zrrt.equals("zrrt003")){
        ManufacturerOrigin.setManufactureroriginname("火车时刻掌上通");
        }
         if(zrrt.equals("zrrt004")){
        ManufacturerOrigin.setManufactureroriginname("掌上黄历");
        }
         if(zrrt.equals("zrrt005")){
        ManufacturerOrigin.setManufactureroriginname("卓阅II");
        }
         if(zrrt.equals("zrrt006")){
        ManufacturerOrigin.setManufactureroriginname("厂商预装产品");
        }
         ManufacturerOrigin.setManufactureroriginbyname(zrrt);
          ManufacturerOrigin.setCreatdate(nowtime);
          ManufacturerOrigin.intomanufacturerorigin();
         
    }
    else{
    }
    String purl="qxm787";
	String  MobileModelID="5";   
	String  ProviderID="11";
    NewFactory newF= new NewFactory();  
    Vector ver = newF.getWapcategory(MobileModelID);  
	WapcategoryFactory Fac1 = new WapcategoryFactory(); 
%>
<card id="card1" title="乐游网">       

<p align="left">

<img src="/game3.0/img/logo.png" alt=""/><br/>
<%@ include file="includes/video_top.jsp" %><!-- 精彩视频 -->
<%@ include file="includes/book.jsp" %><!-- 精彩图书 -->
<%@ include file="includes/shop_navi.jsp" %><!--商城导航 -->
<%@ include file="includes/shop_hot.jsp" %><!--商城热销-->
<!-- <a href="http://wap.leyoou.cn/game3.0/StoryServlet1?CategoryID=67&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25"> 圈子：编织炫.丽生活</a><br/> -->
<!--<a href="/game3.0/ShiPinServlet">更多视频搜索</a><br/>           -->
 <!--<a href="/game3.0/wappages/shipin1.jsp">222</a><br/>-->              
<!--<a href="/game3.0/StoryServlet?CategoryID=70&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">中国移动G客G拍</a><br/>-->
 <!--<a href="http://wap.leyoou.cn/game3.0/wappages/hjpc.jsp">幻姬内测评测</a><br/>  
<a href="http://wap.leyoou.cn/game3.0/wappages/hjgc.jsp">幻姬开始盛大公测</a><br/>-->            
<!--<a href="http://wap.leyoou.cn/game3.0/StoryServlet?CategoryID=69&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">龙英雄</a><br/>        -->
 <!--<a href="http://wap.leyoou.cn/game3.0/StoryServlet?CategoryID=000&amp;mobileModelId=17&amp;purl=yw28&amp;MobileName=28"> 卓阅电子书II </a><br/>
 <a href="http://wap.leyoou.cn/game2.0/resources/10/28/zuoyue_28_v1.0.0.jad"> 卓阅电子书II</a><br/>-->       
 
 <!--<a href="wappages/gamefuntion.jsp">精品游戏攻略专栏</a><br />--> 
          
     <% 
                  if(ver!=null&&!ver.isEmpty()){
                   int m=ver.size(); 
                   for(int i=0;i<m;i++){
                    Allbean bea=(Allbean)ver.elementAt(i); 
					  String CategoryID=bea.getCategoryID();
				//	  String MobileModelID=bea.getMobileModelID();
				//	  String ProviderID=bea.getProviderID();
					//session.setAttribute("MobileModelID",MobileModelID);
					 
                 %>
    <%if(bea.getCategoryTypeID().equals("12")){%>
		 <a href="wappages/<%=bea.getActionPage()%>.jsp?CategoryID=<%=bea.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>"><%out.println(bea.getTitle());%> </a>
		 <%
		 }else if(bea.getCategoryTypeID().equals("5")){%>
		  <%if((bea.getCategoryID().equals("64"))||(bea.getCategoryID().equals("62"))||(bea.getCategoryID().equals("63"))){%>
                    <a href="<%=bea.getActionPage()%>"> <% out.println(bea.getTitle()); %> </a> 
                    <%} else{%>
		 <a href="<%=bea.getActionPage()%>?purl=qxm787"> <%out.println(bea.getTitle());%> </a>        
		 <% }}
		 else if(bea.getCategoryTypeID().equals("2")){   
		 
 		     Vector ver5 = newF.getSubWapcategory(bea.getCategoryID());
 		     %>
 		     <%if(bea.getCategoryID().equals("39")){ %>
 		     <%out.println(bea.getTitle());%><br/>
 		     <% }else{%>
 		      <%out.println(bea.getTitle());%><br/>
 		     <%} %>
           <%  if(ver5!=null){
                  int g=ver5.size();   
            
                   for(int s=0;s<g;s++){
                   Allbean bea5=(Allbean)ver5.elementAt(s);
                  if(s<g-1){
                   if(bea5.getCategoryID().equals("40")||bea5.getCategoryID().equals("41")||bea5.getCategoryID().equals("42")||bea5.getCategoryID().equals("43")||bea5.getCategoryID().equals("44")||bea5.getCategoryID().equals("45")){%>
                    <a href="<%=bea5.getActionPage()%>m=game3.0/qxm787"> <%out.print(bea5.getTitle());%> </a>|
                   <%}else{%>
 
                    <a href="/game3.0/wappages/<%=bea5.getActionPage()%>.jsp?CategoryID=<%=bea5.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>"> <%out.print(bea5.getTitle());%> </a>|
                   <%
                 } }
                 else{
                  if(bea5.getCategoryID().equals("40")||bea5.getCategoryID().equals("41")||bea5.getCategoryID().equals("42")||bea5.getCategoryID().equals("43")||bea5.getCategoryID().equals("44")||bea5.getCategoryID().equals("45")){
                   %>
                    <a href="<%=bea5.getActionPage()%>m=game3.0/qxm787"> <%out.print(bea5.getTitle());%> </a>*
                   <%}else{ %> 
                   <a href="/game3.0/wappages/<%=bea5.getActionPage()%>.jsp?CategoryID=<%=bea5.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>"> <%out.print(bea5.getTitle());%> </a>*
                   <%
                  }}
                  
                     //if(s==ver5.size()-1){
                     //out.println("<br/>");      
                     // }  
                    }
                   }
		 } 
		 
		 
		 
		  else if(bea.getCategoryTypeID().equals("14")){
 		     Vector ver5 = newF.getSubWapcategory(bea.getCategoryID());
            if(ver5!=null){
                  int g=ver5.size();  
            
                   for(int s=0;s<g;s++){
                   Allbean bea5=(Allbean)ver5.elementAt(s);
                   %>
                    <a href="/game3.0/wappages/<%=bea5.getActionPage()%>.jsp?CategoryID=<%=bea5.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>"> <%out.print(bea5.getTitle());%> </a>*
                   <%  
                    }
                   }
		 } 
		 else if(bea.getCategoryTypeID().equals("15")){ 
 		     Vector ver5 =newF.getSubWapcategory(bea.getCategoryID());
            if(ver5!=null){
                  int g=ver5.size(); 
            
                   for(int s=0;s<g;s++){
                   Allbean bea5=(Allbean)ver5.elementAt(s);
                   %>
                    <a href="/game3.0/wappages/<%=bea5.getActionPage()%>.jsp?CategoryID=<%=bea5.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>"> <%out.print(bea5.getTitle());%> </a>.
                   <%
                    }
                   }
		 } 
		 else if(bea.getCategoryID().equals("8")){  
             // out.println(bea.getTitle());
              %>
               <img src="/game3.0/img/huobao.gif" alt=""/> <img src="/game3.0/img/xpsj.jpg" alt=""/> 
                    <%}else if(bea.getCategoryID().equals("16")){ %>
                   <jsp:include page="includes/video_center.jsp"/><!-- 精彩视频 -->
                   <img src="/game3.0/img/redian.gif" alt=""/>  <img src="/game3.0/img/rdtj.jpg" alt=""/> 
                    
              <%}else{out.println(bea.getTitle()); %>      
              <%} %>
	<br /> 
	
	<%              boolean find = false;
	                 Vector ver4;
   	               if(bea.getCategoryTypeID().equals("1")){
   	              %>
<!--   	               <a href="/game3.0/StoryServlet?CategoryID=68&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">免流量精彩视频下载</a><br/>-->
					
<!--   	               <a href="/game3.0/ShiPinServlet">更多视频搜索</a><br/>-->
   	               <%   Vector ver6 = Fac1.getWapcategory(bea.getCategoryID());  
   	                   if(ver6!=null){  
                       int h=ver6.size(); 
                   for(int t=0;t<h;t++){
                   Allbean bea6=(Allbean)ver6.elementAt(t); 
                   %>
                   <a href="/game3.0/WapcategoryServlet?CategoryID=<%=bea6.getCategoryID()%>&amp;mobileModelId=<%=MobileModelID%>&amp;purl=<%=purl%>&amp;ActionPage=<%=bea6.getActionPage()%>&amp;m=<%=purl%>"><%out.print(bea6.getTitle());%></a> <br/>
                   <% }}
					 ver4 = newF.getMobilemodelContentlist(bea.getCategoryID(),MobileModelID);
   	                if(ver4!=null){    
                    int a=ver4.size();   
              
                    for(int t=0;t<a;t++){  
                    Allbean bea4=(Allbean)ver4.elementAt(t);  
                     String name=bea4.getTitle();
   	 %>  
          
		 <a href="/game3.0/wappages/contentview.jsp?CategoryID=<%=bea.getCategoryID()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>&amp;contentId=<%=bea4.getContentId()%>&amp;ContentResourceID=<%=bea4.getContentResourceID()%>&amp;cpId=<%=bea4.getCpId()%>&amp;submitCode=<%=bea4.getSubmitCode()%>&amp;gameresourceid=<%=bea4.getGameResourceID()%>"><%out.println(bea4.getTitle());%> </a><br />
		 <%}}}     
		// 	 else{
		//          Vector ver5 = Fac1.getWapcategoryMobilemodel(CategoryID);  
		//            if(ver5!=null){
        //            int g=ver5.size(); 
              
        //            for(int s=0;s<g;s++){
        //            Allbean bea5=(Allbean)ver5.elementAt(s);  
        //            %>
          <!--     <a href="/game3.0/wappages/<%//=bea5.getActionPage()%>.jsp?CategoryID=<%//=bea5.getCategoryID()%>&amp;MobileModelID=<%//=bea5.getMobileModelID()%>&amp;ProviderID=<%//=bea5.getProviderID()%>"> <%//out.println(bea5.getTitle());%> </a>|-->
                    <%
        //            if(s==ver5.size()-1){
        //             out.println("<br/>");     
        //             }}}} 
              }}%>
      
<!--       <a href="/game3.0/StoryServlet?CategoryID=68&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">免流量精彩视频下载</a><br/>-->
<!--       <a href="/game3.0/ShiPinServlet">更多视频搜索</a><br/>-->
<!--       <a href="http://wap.leyoou.cn/game3.0/StoryServlet?CategoryID=70&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">中国移动G客G拍</a><br/>       -->
<!--       <a href="http://wap.leyoou.cn/game3.0/StoryServlet?CategoryID=69&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">龙英雄</a><br/>          -->
	  <a href="indexmain.jsp">手机品牌专栏</a><br />
	  <jsp:include page="includes/video_bottom.jsp"/>
	 <!-- <a href="wappages/deraign.jsp">游戏问题解决专栏</a><br /> -->   
<!--	 【<a href="wappages/help.jsp">客服咨询</a>】<br/>    -->
	
	<!--<a href="/game3.0">返回</a><br /> --> 
		leyoou.cn 京ICP备09030014号
  
	</p>
	
</card>
</wml>